<?php
/**
 * FastApp.
 * 2/28/25
 * @Author deepsea159
 * @Contact telegram:deepsea159
 */

declare(strict_types=1);

use Hyperf\Database\Seeders\Seeder;
use Hyperf\DbConnection\Db;

class Menu extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        foreach ($this->getData() as $sql) {
            try {
                Db::connection('default')->insert($sql);
            } catch (\Throwable) {
            }
        }
    }

    public function getData(): array
    {
        return [
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5073, 5068, '0,5055,5068', '服务人员列表删除', 'hoenix:concubine:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:51:46', '2025-03-17 19:51:46', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5072, 5068, '0,5055,5068', '服务人员列表读取', 'hoenix:concubine:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:51:46', '2025-03-17 19:51:46', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5071, 5068, '0,5055,5068', '服务人员列表更新', 'hoenix:concubine:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:51:46', '2025-03-17 19:51:46', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5070, 5068, '0,5055,5068', '服务人员列表保存', 'hoenix:concubine:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:51:46', '2025-03-17 19:51:46', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5069, 5068, '0,5055,5068', '服务人员列表列表', 'hoenix:concubine:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:51:46', '2025-03-17 19:51:46', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5068, 5055, '0,5055', '服务人员列表', 'hoenix:concubine', 'icon-home', 'hoenix/concubine', 'hoenix/concubine/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-03-17 19:51:46', '2025-03-17 19:51:46', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5067, 5066, '0,5055,5066', '搜索词列表列表', 'hoenix:keyword:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:36:40', '2025-03-17 19:36:40', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5066, 5055, '0,5055', '搜索词列表', 'hoenix:keyword', 'icon-home', 'hoenix/keyword', 'hoenix/keyword/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-03-17 19:36:40', '2025-03-17 19:36:40', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5065, 5061, '0,5055,5061', '订单删除', 'hoenix:concubineOrder:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:36:38', '2025-03-17 19:36:38', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5064, 5061, '0,5055,5061', '订单读取', 'hoenix:concubineOrder:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:36:38', '2025-03-17 19:36:38', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5063, 5061, '0,5055,5061', '订单更新', 'hoenix:concubineOrder:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:36:38', '2025-03-17 19:36:38', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5062, 5061, '0,5055,5061', '订单列表', 'hoenix:concubineOrder:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-17 19:36:38', '2025-03-17 19:36:38', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5061, 5055, '0,5055', '订单', 'hoenix:concubineOrder', 'icon-home', 'hoenix/concubineOrder', 'hoenix/concubineOrder/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-03-17 19:36:38', '2025-03-17 19:36:38', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5055, 0, '0', '搜索管理', 'Hoenix', 'IconSearch', NULL, NULL, NULL, 2, 'M', 1, 1, 1, 1, '2025-03-17 18:45:10', '2025-03-27 11:35:13', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5085, 5080, '0,5055,5080', '广告列表删除', 'hoenix:index:delete', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-25 10:33:26', '2025-03-25 10:33:26', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5084, 5080, '0,5055,5080', '广告列表读取', 'hoenix:index:read', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-25 10:33:26', '2025-03-25 10:33:26', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5083, 5080, '0,5055,5080', '广告列表更新', 'hoenix:index:update', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-25 10:33:26', '2025-03-25 10:33:26', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5082, 5080, '0,5055,5080', '广告列表保存', 'hoenix:index:save', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-25 10:33:26', '2025-03-25 10:33:26', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5081, 5080, '0,5055,5080', '广告列表列表', 'hoenix:index:index', NULL, NULL, NULL, NULL, 2, 'B', 1, 0, 1, NULL, '2025-03-25 10:33:26', '2025-03-25 10:33:26', NULL, NULL);",
            "INSERT INTO system_menu (id, parent_id, `level`, name, code, icon, route, component, redirect, is_hidden, `type`, status, sort, created_by, updated_by, created_at, updated_at, deleted_at, remark) VALUES(5080, 5055, '0,5055', '广告列表', 'hoenix:index', 'icon-home', 'hoenix/index', 'hoenix/index/index', NULL, 2, 'M', 1, 0, 1, NULL, '2025-03-25 10:33:26', '2025-03-25 10:33:26', NULL, NULL);",
        ];
    }
}
